package com.zimmur.app.mocolink.dao;

import com.zimmur.app.mocolink.domain.model.GroupScene;
import com.zimmur.app.mocolink.domain.model.GroupSceneExample;
import com.zimmur.app.mocolink.domain.vo.GroupSceneVo;

import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface GroupSceneMapper {
    int countByExample(GroupSceneExample example);

    int deleteByExample(GroupSceneExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(GroupScene record);

    int insertSelective(GroupScene record);

    List<GroupScene> selectByExample(GroupSceneExample example);

    GroupScene selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") GroupScene record, @Param("example") GroupSceneExample example);

    int updateByExample(@Param("record") GroupScene record, @Param("example") GroupSceneExample example);

    int updateByPrimaryKeySelective(GroupScene record);

    int updateByPrimaryKey(GroupScene record);
    /**
     * 查询所有场景
     *@Description
     *@return 
     *@author zcx
     *@Time 2017年10月17日 下午3:52:50
     */
    List<GroupSceneVo> selectAllScene();
}